package company.tree;

import java.util.List;

/**
 * 树的定义类
 */
public class NTreeNode {
    private int value;//值
    private List<NTreeNode> nodeList;

    public NTreeNode(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public List<NTreeNode> getNodeList() {
        return nodeList;
    }

    public void setNodeList(List<NTreeNode> nodeList) {
        this.nodeList = nodeList;
    }
}
